<?php
	include(dirname(__FILE__)."/../../../../../inc/class/proxy/BaseProxy.abstract.php");
?>
<?php
class WFProxy extends ABaseProxy {
	// Proxy Init
	public function proxy_init() {
		if( ! isset($this->cgiArgs['serverid']) &&  ! isset($this->cgiArgs['url']) ) {
			$this->errCode = WF_PROXY_ERR_INIT_INVALID_INPUT;
			$this->errMessage = WF_PROXY_ERR_INIT_INVALID_INPUT_MSG;
		}
	}

	// Proxy Exec
	public function proxy_exec() {
	}

	// Proxy Result
	public function proxy_output() {
        echo json_encode($this->serverInfo);
	}

	// Proxy Check
	public function proxy_check() {
        return true;
	}
}
?>
